<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post">
    {% csrf_token %}
    书名<input type="text" name="book">
    价格<input type="text" name="price">
    counts:
    <input type="checkbox" name="counts" value="20">20
    <input type="checkbox" name="counts" value="20">30
    <input type="checkbox" name="counts" value="20">40

    <p>
        <select name="author">
            {% for foo in data_author %}
                  <option value="{{ foo.id }}">{{ foo.name }}</option>
            {% endfor %}
        </select>
    </p>

    <input type="submit" value="提交">
</form>
</body>
</html>